﻿<yavc:TransitionPage
    x:Class="yavc.Phone.AddDevicePage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    xmlns:yavc="clr-namespace:yavc.Phone.Controls"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    Loaded="AddDevicePage_Loaded" KeyUp="PhoneApplicationPage_KeyUp"
    shell:SystemTray.IsVisible="True">

    <Grid Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <yavc:HeaderControl HeaderText="YAMAHA AV CONTROLER" SubHeaderText="add device" />
        
        <Grid Grid.Row="1" Margin="12,0,12,0">
            <yavc:AddDevice x:Name="theAdder" />
        </Grid>
    </Grid>
</yavc:TransitionPage>
